 
  <div id="info"> <!--文章的具体内容-->
        <div id="left" class="f1">
		   <div id="place"><i class="fa fa-hand-o-right"></i>
                <span>当前位置：</span>
                <a href="">网站首页</a>
           </div>
             
			<!--全是dl--><!--输出的是一块块的文章信息列表-->
			<?php foreach($articlelist as $a){?>
			<dl id="post">
			     
				<dt>
                    <span> <a class="label-important" title="抒情散文" href="<?php echo site_url('former/articlelist/'.$a['cid']);?>"><?php echo $a['class'];?></a> </span>
                    <h2><a title="" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>"><?php echo $a['title'];?></a></h2>
                </dt>
				<div class="post-meta">
				    <span class="muteds">
                                <i class="fa fa-user">
                                    <a title="美文美句" href="http://www.107lab.com" target="_blank"> <?php echo $a['author'];?></a>
                                </i>
                    </span>  
					<span class="muted"><i class="fa fa-clock-o"> <?php echo $a['time'];?></i></span>
                    <span class="muted"><i class="fa fa-eye">阅读（<?php echo $a['num'];?>） </i></span>
                    <span class="muteds">
                    </span>
                </div>
				<dd>
                     <i><a title="<?php echo $a['title']?>" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>">
					 <img alt="<?php echo $a['title'];?>" src="<?php echo $a['url'];?>" ></a>
                     </i><p>
					 <?php	$str=strip_tags($a['content']);
							echo mb_substr($str,0,120,'utf-8');?>...</p>
                </dd>
				<div class="post-footer">
                            <div class="tags"><i class="fa fa-tags">标签:
						        <a class="tag-link" title="" href="<?php echo site_url('former/articlelist/'.$a['cid']);?>"><?php echo $a['class'];?></a>丨</i>
                            </div>
						    <div class="readmore">
                                <a rel="bookmark" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>">阅读全文 »</a>
                            </div>
				</div>
				<div class="clear"></div>
            </dl>
			<?php }?>
			<!--文章信息块结束-->
		
			
         <!-- <div class="pagenav">
                <a class="on">1</a>
				<?php //for($i=2;$i<10;$i++){?>
                <a class="ease" title="2" href=""><?php //echo $i;?></a>
				<?php //}?>
                <a class="c-nav next ease" title="›" href="">下一页</a>
                <a class="c-nav ease" title="末页" href="">末页 </a>
            </div> -->
			
		<div class="pagenav">
			<?php echo $links;?> 
		</div>
		
		
		

	  </div> 
        <div id="right">
                    <dl class="widget divSearchPanel">
                 <header><h3>搜一下吧，搜你所找！</h3></header>
                <ul class="function">
                        
            <div id="bdcs">
                     <div class="bdcs-container">
                     <meta content="IE=9" http-equiv="x-ua-compatible">
                        <div id="default-searchbox" class="bdcs-main bdcs-clearfix">
                                <div id="bdcs-search-inline" class="bdcs-search bdcs-clearfix">
                                        <form id="bdcs-search-form" class="bdcs-search-form" autocomplete="off" target="_blank" method="post" action="<?php echo site_url('former/search');?>">
                                          
                                            <input id="bdcs-search-form-input" class="bdcs-search-form-input" type="text" placeholder="请输入关键词" name="sstxt" autocomplete="off" style="height: 36px; line-height: 36px;">
                                            <input id="bdcs-search-form-submit" class="bdcs-search-form-submit " type="submit" value="搜索">
                                        </form>
                                </div>
                                <div id="bdcs-search-sug" class="bdcs-search-sug" style="top: 38px; left: 2px; width: 245px; display: none;">
                                    <ul id="bdcs-search-sug-list" class="bdcs-search-sug-list"></ul>
                                </div>
                                <div id="bdcs-hot" class="bdcs-hot">
                                        <a class="bdcs-hot-item"  title="安妮宝贝" href="<?php echo site_url('former/articlelist/2');?>">安妮宝贝</a>
                                        <a class="bdcs-hot-item" target="_blank" title="抒情散文" href="<?php echo site_url('former/articlelist/2');?>">抒情散文</a>
                                        <a class="bdcs-hot-item" target="_blank" title="最美的年华" href="<?php echo site_url('former/articlelist/2');?>">最美的年华</a>
                                        <a class="bdcs-hot-item" target="_blank" title="经典美文" href="<?php echo site_url('former/articlelist/2');?>">经典美文</a>
                                        <a class="bdcs-hot-item" target="_blank" title="SEO博客" href="<?php echo site_url('former/articlelist/2');?>">SEO博客</a>
                                        
                                        
                                </div>
                        </div>
                    </div>
            </div>
                <ul>
                    </dl>
					
					<dl class="widget Tblogpublished">
                            <header>
                                <h3>热门文章</h3>
                            </header>
                            <ul class="function">
						
							<?php foreach($hotarticle as $a){?>
							  
                                <li> 
                                <a class="picbox" title="<?php echo $a['title'];?>" rel="bookmark" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>">
                                <img class="thumb" width="50" height="50" alt="<?php echo $a['title'];?>" title="<?php echo $a['title'];?>" src="<?php echo $a['url'];?>">
                                </a>
                                <h4 class="title">
                                <a title="<?php echo $a['title'];?>" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>"><?php echo $a['title'];?></a>
                                </h4>
                                <p class="postmeta">
                                    <span class="time"><?php echo $a['time'];?></span>
                                    <span class="eye">阅读（<?php echo $a['num'];?>）</span>
                                </p>
                                </li>
							<?php }?>
                             
                            </ul>
                    </dl>
					
                    <dl class="widget 300250">
                    <header><h3>猜你喜欢</h3></header>
                        <ul class="function">
                        <script type="text/javascript">
                            var sogou_ad_id=472297;
                            var sogou_ad_height=250;
                            var sogou_ad_width=300;
                        </script>
                        </ul>
                    </dl>




						<dl class="widget Tblogpublished">
						<header><h3>随机文章</h3></header>
	                    <ul class="function">
	            
							<?php foreach($randarticle as $a){?>
							  
                                <li> 
                                <a class="picbox" title="<?php echo $a['title'];?>" rel="bookmark" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>">
                                <img class="thumb" width="50" height="50" alt="<?php echo $a['title'];?>" title="<?php echo $a['title'];?>" src="<?php echo $a['url'];?>">
                                </a>
                                <h4 class="title">
                                <a title="<?php echo $a['title'];?>" href="<?php echo site_url('former/read_article/'.$a['id'].'/'.$a['cid']);?>"><?php echo $a['title'];?></a>
                                </h4>
                                <p class="postmeta">
                                    <span class="time"><?php echo $a['time'];?></span>
                                    <span class="eye">阅读（<?php echo $a['num'];?>）</span>
                                </p>
                                </li>
							<?php }?>
                           
	                    </ul>
	                    <dl>
					

		
		
		
		</div>
		<div class="clear"></div>
		
    </div>